package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 参数配置 信息操作处理
 *
 * @author ruoyi
 */
@RestController
@RequestMapping("/xcx/config")
public class XcxConfig extends BaseController {

    @Autowired
    private ISysConfigService configService;


    @GetMapping(value = "/xcxGetConfigKey")
    public AjaxResult xcxGetConfigKey()
    {
        return success(configService.xcxSelectConfigByKey());
    }
}
